package com.yjc.common.constant;

/**
 * @author yjc
 * @create 2022-10-30 14:49
 */
public enum InventoryAlertsReasonEnum {
    OUT_OF_STOCK(1, "已无货"),
    INVENTORY_IS_OUT(2, "快无货");

    private String reason;
    private Integer code;

    InventoryAlertsReasonEnum(Integer code, String reason) {
        this.code = code;
        this.reason = reason;
    }

    public String getReason() {
        return reason;
    }

    public Integer getCode() {
        return code;
    }
}
